Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods


ODFrameFacetIterator

Superclasses
ODObject
Subclasses
none

An object of the ODFrameFacetIterator class provides access to all facets of a frame.

Description

You use a frame-facet iterator to apply an operation to all facets of one of your part's display frames, such as drawing and changing their shapes. For example, a part might use a frame-facet iterator to delete all facets of an embedded frame that it deletes, or to update all views of one of its display frames if it were displaying asynchronously.

Your part creates a frame-facet iterator object by calling its frame's CreateFacetIterator method (page 315), which returns a reference to a frame-facet iterator object.

While you are using a frame-facet iterator, you should not modify the list of facets for the frame. You must postpone adding facets to or removing facets from the list of facets for the frame until after you have deleted the iterator.

For more information related to facet objects, see the ODFacet class description (page 219). For more information on accessing objects through iterators, see "Accessing Objects Through Iterators" on page 473 in OpenDoc Programmer's Guide.

Methods

This section presents summary descriptions of the ODFrameFacetIterator methods grouped according to purpose, followed by detailed descriptions in alphabetical order.

Accessing

First
Begins the iteration and returns a reference to the first facet in the iteration sequence.
Next
Returns a reference to the next facet in the iteration sequence.
Iterator Testing

IsNotComplete
Returns a Boolean value that indicates whether the iteration is incomplete.

Methods
First
IsNotComplete
Next

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help